package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Teacher entity. @author MyEclipse Persistence Tools
 */

public class Teacher implements java.io.Serializable {

	// Fields

	private String teacherUserName;
	private School school;
	private String name;
	private String password;
	private String teacherId;
	private String photo;
	private Set homeworks = new HashSet(0);
	private Set myclasses = new HashSet(0);
	private Set difficultymodels = new HashSet(0);

	// Constructors

	/** default constructor */
	public Teacher() {
	}

	/** minimal constructor */
	public Teacher(String teacherUserName, String name, String password,
			String teacherId) {
		this.teacherUserName = teacherUserName;
		this.name = name;
		this.password = password;
		this.teacherId = teacherId;
	}

	/** full constructor */
	public Teacher(String teacherUserName, School school, String name,
			String password, String teacherId, String photo, Set homeworks,
			Set myclasses, Set difficultymodels) {
		this.teacherUserName = teacherUserName;
		this.school = school;
		this.name = name;
		this.password = password;
		this.teacherId = teacherId;
		this.photo = photo;
		this.homeworks = homeworks;
		this.myclasses = myclasses;
		this.difficultymodels = difficultymodels;
	}

	// Property accessors

	public String getTeacherUserName() {
		return this.teacherUserName;
	}

	public void setTeacherUserName(String teacherUserName) {
		this.teacherUserName = teacherUserName;
	}

	public School getSchool() {
		return this.school;
	}

	public void setSchool(School school) {
		this.school = school;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getTeacherId() {
		return this.teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public Set getHomeworks() {
		return this.homeworks;
	}

	public void setHomeworks(Set homeworks) {
		this.homeworks = homeworks;
	}

	public Set getMyclasses() {
		return this.myclasses;
	}

	public void setMyclasses(Set myclasses) {
		this.myclasses = myclasses;
	}

	public Set getDifficultymodels() {
		return this.difficultymodels;
	}

	public void setDifficultymodels(Set difficultymodels) {
		this.difficultymodels = difficultymodels;
	}

}